package com.cgsrp.cgsrp_user_province.dao;

import com.cgsrp.cgsrp_user_province.domain.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUsername(Long username);

    User selectByPhone(String phone);

    User selectByEmail(String eMail);

    User findByUsername(String username);

    Long findMaxUsername();

    int addUser(User user);

    User findByPhone(String phone);
}
